package com.youaishujuhui.devops.web.service;

import org.springframework.stereotype.Service;

import lombok.Getter;
import lombok.Setter;

import org.springframework.beans.factory.annotation.Value;

/**
 * 配置信息
 **/
@Setter
@Getter
@Service
public class PropertiesService {

    @Value("${passport.app.id}")
    private String passportAppId;

    @Value("${passport.login.enable}")
    private Boolean passportLoginEnable;

    @Value("${passport.login.url}")
    private String passportLoginUrl;

    @Value("${passport.logout.url}")
    private String passportLogoutUrl;

    @Value("${passport.login.key}")
    private String passportLoginKey;
    
    @Value("${ssh.key.path}")
    private String sshKeyPath;
    
    @Value("${ssh.key.passwd}")
    private String sshKeyPasswd;
    
    @Value("${ssh.user}")
    private String sshUser;
    
    @Value("${autoinstall.prefix}")
    private String autoInstallPrefix;
    
    @Value("${dnspod.token}")
    private String dnspodToken;
    
    @Value("${host.installPath}")
    private String hostInstallPath;
    
    @Value("${config.sourceProductCode}")
    private String configSourceProductCode;
    
    @Value("${config.sourceVersionCode}")
    private String configSourceVersionCode;
    
    @Value("${config.sourceApplicationCode}")
    private String configSourceApplicationCode;
    
    @Value("${config.sign}")
    private String configSign;
}
